package com.ctshk.rpc.system.service;

import com.ctshk.common.dto.Result;
import com.ctshk.common.model.PageResponse;
import com.ctshk.common.model.TokenUser;
import com.ctshk.rpc.system.dto.MainDataBusinessDTO;
import com.ctshk.rpc.system.req.MainDataBusinessListReq;
import com.ctshk.rpc.system.req.MainDataBusinessReq;

/**
 * <p>
 * 办证中心 服务类
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-04-02
 */
public interface IMainDataBusinessService {

    Result<PageResponse<MainDataBusinessDTO>> list(MainDataBusinessListReq req);

    Result<MainDataBusinessDTO> detail(Long id);

    Result add(MainDataBusinessReq req, TokenUser currentUser);

    Result update(MainDataBusinessReq req, TokenUser currentUser);

    Result delete(Long id);
}
